<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>  
    <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Merchants list</title>
</head>
<body bgcolor="Lavender">
<p style="text-align:center"><a style="" target="blank" title="" href="https://d.4008823823.com.cn/kfcios/Html/wow.html">
<img style="" src="http://www.kfc.com.cn/kfccda/UploadPic/HomePage/201607/20160725094829_79.jpg"></a>
<h1>Merchants list</h1>
<table>
<tr><th>商家ID</th><th>商家名字</th><th>商家负责人</th><th>商家电话</th><th>商家地址</th><th>商家图片展示</th></tr>
	<c:forEach var="md" items="${ms}">
		<tr>	 
			<td align="center" height="150px">${md.mId}</td><td align="center" height="150px">
			<a href="FoodServlet?mId=${md.mId}&mBrand=${md.mBrand}">${md.mBrand}</a></td><td align="center" height="150px">${md.mPersonName}</td><td width="150px" align="center" height="150px">${md.mTel}</td>
			<td align="center" height="150px" width="150px">${md.mLocation}</td>
			<td align="center" height="150px"><img  src="${md.mLogoPath}" width="100px" height="100px"></td>
		</tr>
	</c:forEach>
</table>
</body>
</html>
